package br.edu.senac.util;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class GerarBanco {

	public static void main(String[] args) {
		System.out.println("Inicio");
		gerarBanco();
		System.out.println("Fim");
	}

	public static void gerarBanco() {
		Configuration conf = new Configuration();
		conf.configure();
		SchemaExport se2 = new SchemaExport(conf);
		se2.create(true, true);
	}
	
}